package app.server.project.main.service.dto.upay.tron;

import cn.hutool.core.annotation.Alias;
import lombok.Data;

import java.util.HashMap;

@Data
public class TronTransactionEventDto {

    @Alias("block_number")
    private long blockNumber;

    @Alias("block_timestamp")
    private String blockTimestamp;

    @Alias("caller_contract_address")
    private String callerContractAddress;

    @Alias("contract_address")
    private String contractAddress;

    @Alias("event_name")
    private String eventName;

    @Alias("event_index")
    private long eventIndex;

    @Alias("event")
    private String event;

    @Alias("transaction_id")
    private String transactionId;

    @Alias("result")
    private HashMap<String, Object> result;

    @Alias("result_type")
    private HashMap<String, Object> resultType;

    @Alias("_unconfirmed")
    private boolean unconfirmed;
}
